#{extends 'baseTemplate.html' /}
#{set title:'预算管理->[预算执行情况录入]-创建'/}
#{set 'moreStyles'}
<style >
.order-table-detail2 thead tr th {
    background: #e7f5f9;
    border: none;
    font-weight: normal;
    text-align: center;
}
.col-xs-5 span.color666666{
	float:left;
	width:70px;
	padding:4px;
}
.fileshow{
	background-color: #E4E4E4;
    padding: 5px 8px;
}
.ship-add{
	vertical-align:middle;
	background: #f7f7f7;
    height: 58px;
    line-height: 58px;
}
h4.text-right{
	line-height:58px;
}
.col-xs-5 span.color666666{
	width:80px
}
.w70{
	width:67px
}
.table>tbody>tr>td{
	padding-left:4px;
	padding-right:4px;
}
.m-b-10{display:inline-block;float:left;margin-right:10px;}
.bton{ padding-left: 5px; padding-right: 5px; padding-bottom: 5px; padding-top: 5px; }
.v{font-size:12px;font-weight:bold;border-border:1px solid #ddd;padding:8px;margin-top:-16px}
.input_label{float:left;width:60px;line-height:31px}
.m-b-10{display:inline-block;margin-right:10px}
td div.col-xs-12{padding-top:2px;padding-bottom:2px;}
</style>
#{/set}
<!-- 页面主内容 -->
<div ng-controller="controller">
	<input type="hidden" id="txtOrderMainID" value="${orderMainID}"/>
    <!--breadcrumb-->
    <div class="clearfix">
        <ol class="breadcrumb pull-left">
            <li><a href="@{BudgetExecutionController.list()}">预算执行情况录入列表</a></li>
            <li class='blue'>[预算执行情况]-创建</li>
        </ol>
    </div>
    <div>
    	<div>
		    <table class="table order-table-detail">
		        <tbody>
		            <tr>
		                <th class="nob_t" width="100">基本信息</th>
		                <td class="nob_t">
		                    <div class="col-xs-5">
		                    	<span class="color666666" style="width:95px">预算名称:</span>
				        		<select class="col-xs-2 form-control" ng-model="condition.PlanCode"  style="width:185px">
				        			<option ng-selected="''==condition.PlanCode" value="">请选择预算名称</options>
				        			<option value="{{Plan.PlanCode}}" ng-selected="Plan.PlanCode==condition.PlanCode" ng-repeat="Plan in Plans">{{Plan.PlanName}}</options>
				        		</select>
				        	</div>
				        	<div class="col-xs-5">
		                    	<span class="color666666" style="width:120px">资金来源:</span>
				        		<select class="col-xs-2 form-control" ng-model="condition.SourceCode" style="width:185px">
				        			<option ng-selected="''==condition.SourceCode" value="">请选择资金来源</options>
				        			<option value="{{Source.SourceCode}}" ng-selected="Source.SourceCode==condition.SourceCode" ng-repeat="Source in Sources">{{Source.SourceName}}</options>
				        		</select>
				        	</div>
		                    <div class="col-xs-5">
		                    	<span class="color666666" style="width:95px">项目类别:</span>
		                    	<select class="col-xs-2 form-control" ng-model="condition.ProjectSortCode" style="width:185px">
				        			<option ng-selected="''==condition.ProjectSortCode" value="">请选项目类别</options>
				        			<option value="{{ProjectSort.ProjectSortCode}}" ng-selected="ProjectSort.ProjectSortCode==condition.ProjectSortCode" ng-repeat="ProjectSort in ProjectSorts">{{ProjectSort.ProjectSortName}}</options>
				        		</select>
							</div>
		                    <div class="col-xs-5">
		                    	<span class="color666666" style="width:120px">科目代码:</span>
				        		<div class="input-group" style="width:185px"><input type="text" class="col-xs-2 form-control" placeholder="科目代码" ng-model="SubjectName"/>
				        		<div class="btn input-group-addon btn-sm" ng-click="showSubjectCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
				        	</div>
		                   <div class="col-xs-5">
		                   		<span class="color666666" style="width:95px">管理机构:</span>
				        		<div class="input-group" style="width:185px"><input type="text" class="col-xs-2 form-control" placeholder="管理机构" ng-model="ManagerName"/>
				        		<div class="btn input-group-addon btn-sm" ng-click="showManagerCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
				        	</div>
		                </td>
		            </tr>
		            <tr>
		                <th>资金信息</th>
		                <td>
		                	<div class="col-xs-5">
		                        <span class="color666666">完成投资：</span>
		                         <div class="col-xs-8">
                                    <input type="text" ng-model="item.InTaxMoney" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="完成投资"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666" style="width:105px">成品油税：</span>
								<div class="col-xs-8">
                                    <input type="text" ng-model="item.OilTax" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="成品油税"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666">车辆通行费：</span>
								<div class="col-xs-8">
                                    <input type="text" ng-model="item.VehicleToll" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="车辆通行费"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666" style="width:105px">中央投资车购税：</span>
		                        <div class="col-xs-8">
                                    <input type="text" ng-model="item.VehiclePurchase" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="中央投资车购税"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666">厅筹措：</span>
		                        <div class="col-xs-8">
                                    <input type="text" ng-model="item.Raise" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="厅筹措"/>
                                </div>
		                    </div>
		                    <div class="col-xs-5">
		                        <span class="color666666" style="width:105px">银行贷款：</span>
		                        <div class="col-xs-8">
                                    <input type="text" ng-model="item.Loan" class="form-control ng-pristine ng-untouched ng-valid"  placeholder="银行贷款"/>
                                </div>
		                    </div>
		                </td>
		            </tr>
		        </tbody>
		      </table>
		       <div class="order-add">
		       		<h4 class="text-right">
		       			<button class="btn btn-warning btn-lg m-l-15" ng-click="save()">&nbsp;&nbsp;&nbsp;&nbsp;保存&nbsp;&nbsp;&nbsp;&nbsp;</button>
		       		</h4>
		       </div>
		</div>
    </div>
     <div id="loading"></div>
</div>			
#{set 'moreScripts'}
<!-- 增加新的脚本文件 -->
<script type="text/javascript" src="@{'/public/javascripts/controllers/BudgetExecutionController/create.js'}" charset="utf-8"></script>
#{/set}
